package com.example.xyh.service;

import com.example.xyh.entity.Shop;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface ShopService {
    List<com.example.xyh.dto.ShopDto> getAllShopList();

    List<com.example.xyh.dto.ShopDto> findShopsByBusinessIdAndIsDeletedIsNull(Integer business_id);

    com.example.xyh.dto.ShopDto addShop(Integer business_id, String shop_name);

    com.example.xyh.dto.ShopDto deleteShop(String shop_name);

    Shop findByShopId(Integer shop_id);
}
